import re


def get_text_after_chinese(sentence):
    # 寻找最后一个中文字符出现的位置
    match = re.search(r'([\u4e00-\u9fff]+)(.*)', sentence)

    if match:
        # 提取中文字符后面的部分
        chinese, rest_of_text = match.groups()
        return rest_of_text
    else:
        # 如果句子中没有中文字符，返回None或其他默认值
        return None

def contains_chinese_char(s):
    for char in s:
        if '\u4e00' <= char <= '\u9fff':
            return True
    return False

def test_parse_chinese():
    zh = 'The term "对" in Chinese has multiple meanings depending on the context.It can mean "correct," "right," "towards," or "pair," among others.If you provide a sentence or a context, I can give you a more accurate translation.'
    if contains_chinese_char(zh):
        zh_left = get_text_after_chinese(zh)
        print("zh_left:", zh_left)
        zh_left = zh_left[1:]
        zh_left_list = zh_left.split('"')
        print("zh_left_list[0]:", zh_left_list[1])
        return zh_left_list[1]

if __name__=="__main__":
    test_parse_chinese()